package com.seeyon.apps.restext;

import java.util.HashMap;
import java.util.Map;
import java.util.List;
import java.util.ArrayList;
import com.seeyon.client.CTPRestClient;
import com.seeyon.client.CTPServiceClientManager;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class RestMenuDemorestsample  {

//获取人员菜单接口
public static void testGetMenuByCurrUser() {
   CTPRestClient client = ClientResource.getInstance().resouresClent();
   String loginName="zjl";
   String json = client.get("orgMember/?loginName=" + loginName, String.class);
   System.out.println(json);
   
}

public static void main(String args[]){
  System.out.println("a");
     testGetMenuByCurrUser();
}
}